package com.example.sunming.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @date: 2021/1/12
 * @author: sunming
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExcelEntity {

    @ExcelProperty(value = "姓名")
    private String username;

    @ExcelProperty(value = "年龄")
    private Integer age;
}
